package org.dairy.farms.model;

import javax.persistence.CascadeType;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
import javax.persistence.OneToOne;

/**
 * Created by IntelliJ IDEA.
 * User: gduggira
 * Date: Jul 1, 2011
 * Time: 3:20:44 PM
 */
@Entity
@DiscriminatorValue(value = "LIVESTOCK_FEED_EXPENSE")
public class FeedExpense extends Expense{
   /* @OneToOne(mappedBy = "feedExpense", cascade = CascadeType.ALL)
    private Feed feed;

    public Feed getFeed() {
        return feed;
    }

    public void setFeed(Feed feed) {
        this.feed = feed;
    }*/
}
